# rampButton object example

The following example shows the rampButton object:

`<rampButton name="RampButton1" height="34" width="94" left="16" top="21" visible="true" wallpaper="false" isReferenceObject="false" audio="true" backColor="navy" backStyle="solid" borderStyle="raised" borderUsesBackColor="true" borderWidth="4" description="" highlightColor="lime" borderColor="navy" patternColor="white" patternStyle="none" horizontalMargin="0" verticalMargin="0" shape="rectangle" touch="true" autoRepeatDelay="400" autoRepeatRate="0" blink="false" limitValue="100" rampType="up" rampValue="1" useVariableLimit="true" useVariableRamp="true" captionOnBorder="false" keyAssignment="F18">`

`<caption fontFamily="Braggadocio" fontSize="10" bold="false" italic="false" underline="false" strikethrough="false" caption="ROMP" color="white" backColor="navy" backStyle="transparent" alignment="middleCenter" wordWrap="true" blink="false" />`

`<imageSettings imageName="" alignment="middleCenter" backStyle="transparent" color="white" backColor="navy" scaled="false" blink="false" />`

`<animations>`

`<animateVisibility expression="TagS2" expressionTrueState="visible" />`

`</animations>`

`<connections>`

`<connection name="Value" expression="TagS2" />`

`<connection name="Ramp" expression="TagS3" />`

`<connection name="Limit" expression="TagS4" />`

`</connections>`

`</rampButton>`

## See also

Push button objects: rampButton object

rampButton object attributes and elements